package com._21cn.product.service;

import com._21cn.framework.base.db.BaseDao;
import com._21cn.framework.base.service.impl.BaseServiceImpl;

import com._21cn.product.dao.CateDao;
import com._21cn.product.entity.Cate;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;


@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("cateService")
public class CateService extends BaseServiceImpl<Cate> {
	
    @Autowired
    private CateDao cateDao;

    @Override
    protected BaseDao<Cate> getBaseDao() {
        return cateDao;
    }

}